package vistas;

import org.eclipse.swt.widgets.Composite;
import org.uqbar.commons.model.Entity;
import org.uqbar.commons.model.Home;

import clasesPrincipales.Contacto;

public class AgregarUsuario extends EditarUsuario {

	public AgregarUsuario(Composite parent, Contacto contacto, Home<? extends Entity> home) {
		super(parent, contacto, home);
	}

	@Override
	protected void execute() {
		this.home.agregar(this.getModel());
	}
}
